package org.zjt.platform.spring.boot.example.service;
import org.springframework.amqp.core.Message;
import com.rabbitmq.client.Channel;
/**
 * @author <a href="juntao.zhang@qq.com">juntao.zhang</a>
 * @Description:
 * @Package org.zjt.platform.spring.boot.example.service
 * @date 2018/3/14 14:22
 * @see
 */


public interface IRabbitMsgService {

    void onManualMessage(Message message ,Channel channel ) throws Exception ;

    void onAutoMessage(Message message ) throws Exception;

    void sendAutoMsg(String content);


    void sendManualMsg(String content);
}
